package com.aidong.carnival.controllers.concerns;

import java.util.HashMap;
import java.util.Map;

public enum ListType {
	home, member, coach;
	private static final Map<String, ListType> stringToEnum = new HashMap<String, ListType>();
	static {
		for (ListType listType : values()) {
			stringToEnum.put(listType.toString(), listType);
		}
	}

	public static ListType fromString(String symbol) {
		return stringToEnum.get(symbol);
	}
}
